home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 176-200 / disk_185 / source / readme < prev    next >
Text File  |  1992-05-06  |  2KB  |  41 lines

  1.  
  2. This directory contains the C source for the standard EA IFF reader and
  3. writer modules, and all of the EA examples.  See the LINKER_INFO
  4. directory of this disk for information on which IFF modules must
  5. be linked with each example.
  6.  
  7. Amiga file I/O can be greatly sped up by use of a RAM buffer. So we now have
  8. a layer of software that provides optional buffering. The "option" is
  9. controlled by changing a "#define" inside the header file GIO.H, adding
  10. GIO.O to your link file, recompiling, and recompiling. When turned off,
  11. this layer becomes just a layer of macro calls between the IFFR and IFFW
  12. modules and the AmigaDOS routines they call.
  13.  
  14. This RAM buffer speeds things up when you're doing numerous small Writes
  15. and/or Seeks while writing. The general IFF writer IFFW.C tends to do this.
  16. It should be extended to optimize reading, too.
  17.  
  18. If you are not using IFF, and already Write in chunks of 256 bytes or more,
  19. don't bother using GIO.
  20.  
  21.  
  22.  
  23. *** Commodore-Amiga has modified the SOURCE/showilbm.c to allow it to
  24. be linked with the STANDARD Lstartup.obj found on the Amiga C disk.  If
  25. compiled without using -dTINY, it allows the status information, if any,
  26. to be redirected to the little window that the Lattice startup code
  27. automatically opens in the workbench.   The lines that changed are:
  28.  
  29.    added a line:
  30.  
  31.       extern struct WBStartup *WBBenchMsg;
  32.  
  33.    changed a line:
  34.  
  35.       from:     wbStartup = (struct WBStartup *)argv;
  36.       to:       wbStartup = WBenchMsg;
  37.  
  38.    changed references from PrintS to printf throughout.
  39.  
  40.  
  41.